﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;

namespace S4Store.Domain.FinancialKpi
{
    public class FinancialCarBrandMonthConfig
    {
        public int Id { get; set; }

        /// <summary>
        /// 是否确认
        /// </summary>
        public bool IsConfirmed { get; set; }
        /// <summary>
        /// 月
        /// </summary>
        public DateTime Month { get; set; }

        /// <summary>
        /// 店
        /// </summary>
        public int StoreId { get; set; }

        public int CarBrandId { get; set; }

        /// <summary>
        /// 店
        /// </summary>
        public virtual Store Store { get; set; }
        /// <summary>
        /// 店
        /// </summary>
        public virtual CarBrand CarBrand { get; set; }

        /// <summary>
        /// 本月初库存成本  
        /// </summary>
        public decimal YCKCCB { get; set; }
        /// <summary>
        /// 本月末库存成本  
        /// </summary>
        public decimal YMKCCB { get; set; }
        /// <summary>
        /// 本月车辆销售成本  
        /// </summary>
        public decimal CLXSCB { get; set; }
        /// <summary>
        /// 本月售后毛利  
        /// </summary>
        public decimal SHZCZ { get; set; }

        [NotMapped]
        public bool Enble { get; set; }
    }
}
